<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/shopping/doRegistor" method="post" enctype="multipart/form-data">
    <div>用户名：<input type="text" name="username" style="width: 200px"> </div>

    <div>密码：<input type="password" name="password" style="width: 200px" > </div>

    图片：<input type="file" name="img"/> <br/>

    <div>
     <select name="role">
        <option value="user">用户</option>
        <option value="merchant">商家</option>
    </select>
    </div>
    <div>   <input type="submit"> </div>
</form>
</body>
</html>